function DataPath = getDataPath(DataSet, Aug)
% data_path = fullfile(fileparts(fileparts(mfilename('fullpath'))), '%data');

if nargin == 0
    DataPath = fullfile(srpath.getMainPath(3), '%data');
    return
end

for i = [3 2]
    DataPath = fullfile(srpath.getMainPath(i), '%data');
    DataPath = fullfile(DataPath, DataSet);
    if isdir(DataPath), break; end
end

if nargin < 2 || isempty(Aug), return; end

%%
DataAugHome = srpath.getDataAugHome;
if ~isdir(DataAugHome), mkdir(DataAugHome); end

DataAugPath = fullfile(DataAugHome, [DataSet '-*']);
[bFound, DataAugPath] = myinput.searchDataByParam(DataAugPath, 'st.mat', '', Aug);

%% Augment data
if bFound
    fprintf('\tAugmented Image Set for "%s" is found in: "%s"\n\n', DataSet, DataAugPath);
else
    fprintf('\tAugmenting Image Set for "%s" ...\n', DataSet);
    srimg.augImages(DataPath, Aug, DataAugPath);
    fprintf('\tDone!\n\n');
end
DataPath = DataAugPath;

%% delete Aug ImgSet Path
% if isdir(DataPath), rmdir(DataPath, 's'); end
